/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
  outline: none;
}

/* Remove default padding */
ul[class],
ol[class] {
  padding: 0;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  font-size: 14px;
}

/* Remove list styles on ul, ol elements with a class attribute */
ul[class],
ol[class] {
  list-style: none;
  margin: 0;
}

/* A elements that don't have a class get default styles */
a {
  text-decoration: none;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img {
  max-width: 100%;
}

/* Natural flow and rhythm in articles by default */
article > * + * {
  margin-top: 1em;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@font-face {
  font-family: Knockout;
  src: url(../font/Knockout-HTF53-Heviweight.otf);
}

// @font-face {
//   font-family: PingFang-Heavy;
//   src: url(../font/PingFang-Heavy.ttf);
// }

// @font-face {
//   font-family: PingFang-Regular;
//   src: url(../font/PingFang-Regular.ttf);
// }

.page {
  background-color: #f0f0f0;
  width: 100%;
  min-height: 100vh;
}

.top-img {
  width: 100%;
  position: relative;

  .text {
    position: absolute;
    color: white;
    z-index: 1;
    font-family: 'Knockout';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    flex-direction: column;
    h1 {
      font-size: 90px;
      margin-bottom: 60px;
    }
    p {
      font-size: 16px;
      margin-bottom: 30px;
      // font-family: PingFang-Regular;
      &:last-child {
        margin-bottom: 0;
      }
    }
  }

  &:before {
    display: block;
    content: '';
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.3) 0%, #000000 100%);
    opacity: 0.61;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
  }

  img {
    width: 100%;
  }
}
